Documentation > CMS Template API Library > Util > MakeList(String[])
MakeList
Convenience method for making a list of strings. You may pass an array of strings or a variable length list of strings like
List
public List<String> MakeList(String[])
Returns
List of Strings
Parameters
Name | Description | Type |
---|---|---|
items | The items to turn into a list of ints. | System.String[] |
Code Example
C#
Sample:
List<string> list = Util.MakeList("Apple","orange", "Banana");